<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>NetworkTester (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">net.NetworkTester</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    Creates an instance of goog.net.NetworkTester which can be used to test
for internet connectivity by seeing if an image can be loaded from
<a href="http://google.com">google.com</a>. It can also be tested with other URLs.

  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_net_networktester.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/net/networktester.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.net.NetworkTester</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.net.NetworkTester(<span><span class="arg">callback</span>,&nbsp;<span class="arg">opt_handler</span>,&nbsp;<span class="arg">opt_uri</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">callback</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">Callback that is called when the test completes.
    The callback takes a single boolean parameter. True indicates the URL
    was reachable, false indicates it wasn't.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_handler</span>
        : <span class="type">Object=</span>
        <div class="entryOverview">Handler object for the callback.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_uri</span>
        : <span class="type">goog.Uri=</span>
        <div class="entryOverview">URI to use for testing.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_net_NetworkTester.html">
              goog.net.NetworkTester
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.cleanupCallbacks_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">cleanupCallbacks_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Cleans up the handlers and timer associated with the image.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line366">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.getNumRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getNumRetries<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Returns the numer of retries to attempt.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Number of retries to attempt.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line168">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.getPauseBetweenRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getPauseBetweenRetries<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Returns the pause between retries in milliseconds.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Pause between retries in milliseconds.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line186">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.getTimeout"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getTimeout<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Returns the timeout in milliseconds.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Timeout in milliseconds.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line150">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.getUri"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getUri<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
      </div>


     <div class="entryOverview">
       Returns the uri to use for the test.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>&nbsp;
            The uri for the test.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line204">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.isRunning"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isRunning<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether the tester is currently running.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            True if it's running, false if it's not running.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line222">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.onImageAbort_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onImageAbort_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback for the image load being aborted.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line310">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.onImageError_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onImageError_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback for the image failing to load.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line300">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.onImageLoad_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onImageLoad_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback for the image successfully loading.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line290">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.onImageTimeout_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onImageTimeout_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback for the image load timing out.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line320">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.onPauseFinished_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onPauseFinished_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback for the pause between retry timer.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line356">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.onResult"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onResult<span class="args">(<span class="arg">succeeded</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles a successful or failed result.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">succeeded</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether the image load succeeded.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line330">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.setNumRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setNumRetries<span class="args">(<span class="arg">retries</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the timeout in milliseconds.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">retries</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of retries to attempt.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line177">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.setPauseBetweenRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setPauseBetweenRetries<span class="args">(<span class="arg">pauseMs</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the pause between retries in milliseconds.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pauseMs</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Pause between retries in milliseconds.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line195">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.setTimeout"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setTimeout<span class="args">(<span class="arg">timeoutMs</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the timeout in milliseconds.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">timeoutMs</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Timeout in milliseconds.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line159">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.setUri"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setUri<span class="args">(<span class="arg">uri</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the uri to use for the test.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">uri</span>
        : <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
        <div class="entryOverview">The uri for the test.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line213">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.start"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">start<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Starts the process of testing the network.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line230">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.startNextAttempt_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">startNextAttempt_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Starts the next attempt to load an image.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line255">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.prototype.stop"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">stop<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Stops the testing of the network. This is a noop if not running.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line245">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_net_NetworkTester.html">
              goog.net.NetworkTester
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.attempt_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">attempt_</span>
        : 
     </div>


     <div class="entryOverview">
       Attempt number we're on

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line119">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.callback_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">callback_</span>
        : 
     </div>


     <div class="entryOverview">
       Callback that is called when the test completes.
The callback takes a single boolean parameter. True indicates the URL was
reachable, false indicates it wasn't.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line46">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.handler_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">handler_</span>
        : 
     </div>


     <div class="entryOverview">
       Handler object for the callback.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line53">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.logger_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">logger_</span>
        : <span class="type"><a href="class_goog_debug_Logger.html">goog.debug.Logger</a></span>
     </div>


     <div class="entryOverview">
       Logger object

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line85">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.pauseBetweenRetriesMs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">pauseBetweenRetriesMs_</span>
        : 
     </div>


     <div class="entryOverview">
       Pause between retries in milliseconds.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line127">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.pauseTimer_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">pauseTimer_</span>
        : 
     </div>


     <div class="entryOverview">
       Timer for pauses between retries.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line143">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.retries_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">retries_</span>
        : 
     </div>


     <div class="entryOverview">
       Number of retries to attempt

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line111">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.running_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">running_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether we've already started running.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line103">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.timeoutMs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">timeoutMs_</span>
        : 
     </div>


     <div class="entryOverview">
       Timeout for test

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line94">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.timeoutTimer_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">timeoutTimer_</span>
        : 
     </div>


     <div class="entryOverview">
       Timer for timeouts.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line135">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.prototype.uri_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">uri_</span>
        : <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
     </div>


     <div class="entryOverview">
       Uri to use for test. Defaults to using an image off of <a href="http://google.com">google.com</a>

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line69">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.NetworkTester.getNavigatorOffline_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.NetworkTester.</span><span class="entryName">getNavigatorOffline_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether navigator.onLine returns false.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line281">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.NetworkTester.DEFAULT_TIMEOUT_MS"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.NetworkTester.</span><span class="entryName">DEFAULT_TIMEOUT_MS</span>
        : 
     </div>


     <div class="entryOverview">
       Default timeout

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_networktester.js.source.html#line77">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package net</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="net.NetworkTester"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
